#ifndef COMPANY_H
#define COMPANY_H

#include<iostream>
using namespace std;
class Company{

public:
    virtual ~Company(){}
    virtual bool isInterView(){
        return true;
    }
    void Recruit(){
        cout<<"...............Begin........."<<endl;
        CareerTalk();
        ReceiveResume();
        if(isInterView()){
        InterView();
        }
        Offer();
        cout<<".................End........."<<endl;
    }

    void CareerTalk(){
       cout << "Delivery" << endl;
    }
    void ReceiveResume(){
        cout << "Receive Resume" << endl;
    }
    virtual void InterView()=0;
    virtual void Offer()=0;
};

#endif // COMPANY_H
